package freejim.icu.highschoolhealthstatuspost.dao;

import lombok.Data;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;

@Data
@Entity(name = "info")
public class Info {
    @Id //标识为主键
    private Long id;
    private String name;
    private String phonenumber;
    public Info(){};
    public Info(Long id, String name, String phonenumber) {
        this.id = id;
        this.name = name;
        this.phonenumber = phonenumber;
    }
}
